<template>
  <div>
    <ShopGoods :supplierId="supplierId" />
  </div>
</template>

<script>
import ShopGoods from "@/views/common-views/main-views/ShopGoods.vue";

export default {
  components: {
    ShopGoods,
  },
  created() {
    this.initializeStoreData();
  },
  methods: {
    initializeStoreData() {
      const supplierId = this.$route.params.Id;
      console.log("supplierId"+supplierId)
      if (supplierId) {
        this.supplierId=supplierId
      }
    }
  },
  data() {
    return {
      supplierId:'',
    };
  }
};
</script>
